package cn.minds.capture.dispatch;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

public class CaputureInputStream {

	BufferedReader breader = null;

	public CaputureInputStream(InputStream in) {
		breader = new BufferedReader(new InputStreamReader(in));
	}

	public String read() throws IOException {
		return breader.readLine();
	}

	public void close() throws IOException {
		breader.close();
	}
}
